<?php
$root = split("vanillamantis", $_SERVER['SCRIPT_FILENAME']);
if (count($root) == 1) $root = split("index", $_SERVER['SCRIPT_FILENAME']);
$root = $root[0];

require_once($root . "/qcubed/includes/configuration/configuration.inc.php");

$strSerialArray = constant("DB_CONNECTION_1");
$objConfigArray = unserialize($strSerialArray);

	$g_hostname = $objConfigArray["server"];
	$g_db_type = 'mysql';
	$g_database_name = $objConfigArray["database"];
	$g_db_username = $objConfigArray["username"];
	$g_db_password = $objConfigArray["password"];
	$phpMailer_method = PHPMAILER_METHOD_SENDMAIL;
?>